package com.ki.glasscase.svc.services;

import com.ki.glasscase.svc.entity.Product;
import com.ki.glasscase.svc.entity.Tag;

import java.util.List;
import java.util.Map;

/**
 * Created by Khacheresyants.l on 2/27/14.
 */
public interface TagService {
    public Long create(Tag tag);
    public Long update(Tag tag);
    public Tag getTagByName(String name);
    public Tag getTagById(int id);
    public List<Tag> getAll(int limit);
    public Map<String,List<Tag>> getAllTagByProduct(List<Product> list);
}
